package com.lanou.mapper;

import com.lanou.pojo.PaymentMeterEntity;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @InterfaceName PaymentMeterMapper
 * @Description: TODO
 * @Author 郅占伟
 * @Date 2023年10月27日
 * @Version: 1.0
 */
@Repository
public interface PaymentMeterMapper {
    // 根据关键字查询id
    List<PaymentMeterEntity> getPaymentMeterList(@Param("blockCode") String blockCode, @Param("feeItemName") String feeItemName);

    // 解析Excel表格添加数据
    void insertPaymentMeterListByExcel(PaymentMeterEntity paymentMeterEntity);

    // 根据id删除数据
    void deletePaymentMeterById(@Param("id") String id);

     void modifyPaymentMeter(PaymentMeterEntity paymentMeterEntity);
}
